package com.clh.entity;
/**
 * 车辆管理实体类
 * @author 钟冰勇
 *2022-05-25 17.38pm
 */
public class Car {
	private String carId;
	private String carUserName;
	private String carCard;
	private String carPhone;
	private Owner owner;
	
	public Car(String carId, String carUserName, String carCard, String carPhone, Owner owner) {
		super();
		this.carId = carId;
		this.carUserName = carUserName;
		this.carCard = carCard;
		this.carPhone = carPhone;
		this.owner = owner;
		
		
	}

	public Car() {
		super();
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public String getCarUserName() {
		return carUserName;
	}

	public void setCarUserName(String carUserName) {
		this.carUserName = carUserName;
	}

	public String getCarCard() {
		return carCard;
	}

	public void setCarCard(String carCard) {
		this.carCard = carCard;
	}

	public String getCarPhone() {
		return carPhone;
	}

	public void setCarPhone(String carPhone) {
		this.carPhone = carPhone;
	}

	public Owner getOwner() {
		return owner;
	}

	public void setOwner(Owner owner) {
		this.owner = owner;
	}

	@Override
	public String toString() {
		return "Car [carId=" + carId + ", carUserName=" + carUserName + ", carCard=" + carCard + ", carPhone="
				+ carPhone + ", owner=" + owner + "]";
	}
	
	

}
